define({ "api": [
  {
    "type": "POST",
    "url": "/api/v1/oss/app/delete",
    "title": "delete（根据应用id删除应用）",
    "name": "delete",
    "group": "app",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>应用id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"5234b8d4494b496fb8fcd218f85610b7\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": null,\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/AppInfoApplication.java",
    "groupTitle": "app（应用管理）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/app/merge",
    "title": "merge（新增或编辑应用）",
    "name": "merge",
    "group": "app",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "ossAppInfo",
            "description": "<p>应用信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"5234b8d4494b496fb8fcd218f85610b7\", --新增时为空，修改时非空\n    \"name\": \"meilc1\",\n    \"code\": \"meilc2\",\n    \"devId\": \"386607787ada4676a52cf78e1b15311a\",\n    \"intro\":\"meilc12\" --描述\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": null,\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/AppInfoApplication.java",
    "groupTitle": "app（应用管理）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/app/queryById",
    "title": "queryById（根据应用id查找应用）",
    "name": "queryById",
    "group": "app",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>应用id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"5234b8d4494b496fb8fcd218f85610b7\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"message\": \"Success\"\n    \"data\":{\n        \"code\": \"test\",\n        \"createTime\": \"2018-09-10 17:18:27\",\n        \"devId\": \"386607787ada4676a52cf78e1b15311a\",\n        \"id\": \"5234b8d4494b496fb8fcd218f85610b7\",\n        \"intro\": \"\",\n        \"name\": \"test\",\n        \"useSpace\": 8376085,\n        \"useSpaceStr\": \"7.99MB\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/AppInfoApplication.java",
    "groupTitle": "app（应用管理）"
  },
  {
    "type": "GET",
    "url": "/api/v1/oss/app/queryByPage",
    "title": "queryByPage（获取应用列表）",
    "name": "queryByPage",
    "group": "app",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "page",
            "description": "<p>当前页</p>"
          },
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "rows",
            "description": "<p>每页行数</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sortOrder",
            "description": "<p>排序字段</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"rows\": 10,\n    \"page\": 1,\n    \"sortOrder\": \"asc\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"count\": 2,\n    \"current_page\": 1,\n    \"message\": null,\n    \"page_size\": 10,\n    \"total_page\": 1,\n    \"data\":[{\n        \"code\": \"test\",\n        \"createTime\": \"2018-09-10 17:18:27\",\n        \"devId\": \"386607787ada4676a52cf78e1b15311a\",\n        \"id:\" \"5234b8d4494b496fb8fcd218f85610b7\",\n        \"intro\": \"\",\n        \"name\": \"test\",\n        \"useSpace\": 8376085,\n        \"useSpaceStr\": \"7.99MB\"\n    }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/AppInfoApplication.java",
    "groupTitle": "app（应用管理）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/developer/delete",
    "title": "delete（根据应用id删除开发者）",
    "name": "delete",
    "group": "developer",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>开发者id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"46c2ec51380e431b96ae55ba35c37f30\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": null,\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/DeveloperApplication.java",
    "groupTitle": "developer（开发者管理）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/developer/merge",
    "title": "merge（新增或编辑开发者）",
    "name": "merge",
    "group": "developer",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "ossAppInfo",
            "description": "<p>应用信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"386607787ada4676a52cf78e1b15311a\", --新增时为空，修改时非空\n    \"name\": \"test1\",\n    \"email\": \"test1@qq.com\",\n    \"tel\": \"12345678900\",\n    \"intro\": \"desc\" --描述\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": null,\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/DeveloperApplication.java",
    "groupTitle": "developer（开发者管理）"
  },
  {
    "type": "GET",
    "url": "/api/v1/oss/developer/queryById",
    "title": "queryById（获取开发者列表）",
    "name": "queryById",
    "group": "developer",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>开发者id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"id\": \"ba505821a51e4126b738307b55e35e8c\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"message\": null,\n    \"data\"：{\n        \"appid\": \"oss1g5yik\",\n        \"appsecret\": \"a7soma73\",\n        \"createTime\": \"2018-09-10 17:06:19\",\n        \"email\": \"1577388557@qq.com\",\n        \"id\": \"386607787ada4676a52cf78e1b15311a\",\n        \"intro\": \"\",\n        \"name\": \"yanggh\",\n        \"status\": \"0\",\n        \"tel\": \"15600902056\",\n        \"useSpace\": 8376085,\n        \"useSpaceStr\": \"7.99MB\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/DeveloperApplication.java",
    "groupTitle": "developer（开发者管理）"
  },
  {
    "type": "GET",
    "url": "/api/v1/oss/developer/queryByPage",
    "title": "queryByPage（获取开发者列表）",
    "name": "queryByPage",
    "group": "developer",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "page",
            "description": "<p>当前页</p>"
          },
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "rows",
            "description": "<p>每页行数</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sortOrder",
            "description": "<p>排序字段</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"rows\": 10,\n    \"page\": 1,\n    \"sortOrder\": \"asc\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"count\": 2,\n    \"current_page\": 1,\n    \"message\": null,\n    \"page_size\": 10,\n    \"total_page\": 1,\n    \"data\":[{\n        \"appid\": \"oss1g5yik\",\n        \"appsecret\": \"a7soma73\",\n        \"createTime\": \"2018-09-10 17:06:19\",\n        \"email\": \"1577388557@qq.com\",\n        \"id\": \"386607787ada4676a52cf78e1b15311a\",\n        \"intro\": \"\",\n        \"name\": \"yanggh\",\n        \"status\": \"0\",\n        \"tel\": \"15600902056\",\n        \"useSpace\": 8376085,\n        \"useSpaceStr\": \"7.99MB\"\n    }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/DeveloperApplication.java",
    "groupTitle": "developer（开发者管理）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/material/createDir",
    "title": "createDir（新建文件路径）",
    "name": "createDir",
    "group": "material",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "dir",
            "description": "<p>路径</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pro",
            "description": "<p>应用</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"dir\": \"/currentfoldername\",\n    \"pro\": \"newfoldername\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": null,\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "GET",
    "url": "/api/v1/oss/material/exportExcel",
    "title": "exportExcel（下载Excel）",
    "name": "exportExcel",
    "group": "material",
    "version": "1.0.0",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "success",
            "description": "<p>下载Excel</p>"
          }
        ]
      }
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "GET",
    "url": "/api/v1/oss/material/queryByPage",
    "title": "queryByPage（获取文件列表）",
    "name": "queryByPage",
    "group": "material",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "page",
            "description": "<p>当前页</p>"
          },
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "rows",
            "description": "<p>每页行数</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sortOrder",
            "description": "<p>排序字段</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n\"rows\": 10,\n\"page\": 1,\n\"sortOrder\": \"asc\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n\"code\": 8200,\n\"count\": 3,\n\"current_page\": 1,\n\"message\": null,\n\"page_size\": 10,\n\"total_page\": 1,\n\"data\": [{\n\"appId\": \"5234b8d4494b496fb8fcd218f85610b7\",\n\"appname\": \"yanggh\",\n\"byteStr\": \"32.0KB\",\n\"createTime\": \"2018-12-05 17:09:29\",\n\"fromIp\": \"0:0:0:0:0:0:0:1\",\n\"id\": \"57e99ddb50dd4a158956d7d4483e855a\",\n\"lastModifiedTime\": \"2018-12-05 17:09:29\",\n\"len\": 32768,\n\"name\": \"meilc\",\n\"originalName\": \"response.xls\",\n\"storePath\": \"/test/cms/201812/05/57e99ddb50dd4a158956d7d4483e855a.xls\",\n\"type\": \"xls\",\n\"url\": \"http://localhost/files/test/cms/201812/05/57e99ddb50dd4a158956d7d4483e855a.xls\",\n\"userId\": \"386607787ada4676a52cf78e1b15311a\"\n}]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/material/uploadByBinary",
    "title": "uploadByBinary（通过二进制字节码上传文件-旧版）",
    "name": "uploadByBinary",
    "group": "material",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appid",
            "description": "<p>开发者appid</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appsecret",
            "description": "<p>开发者appsecret</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "project",
            "description": "<p>应用编码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "module",
            "description": "<p>模块（应用中某个模块存储的文件夹，允许多层文件夹：cb/nh）</p>"
          },
          {
            "group": "Parameter",
            "type": "MultipartFile[]",
            "optional": false,
            "field": "files",
            "description": "<p>上传文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"project\":\"application_code\",\n    \"appid\":\"oss0s4w4i\",\n    \"appsecret\":\"o4s1u844\",\n    \"module\":\"application_model\",\n    \"files\":[\n    {\n        \"original_name\":\"test.png\",\n        \"file\":\"F://test.png\",\n        \"media_type\":\"png\"\n    }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n  \"code\": 8200,\n  \"message\": \"Success\",\n  \"data\": [\n    {\n      \"id\": \"164332db37ad409ba9dde439cd7171a2\",\n      \"url\": \"http://localhost/files/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"store\": \"/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"objType\": \"jpg\",\n      \"originalName\": \"高通8cx.jpg\",\n      \"byteLength\": 45647,\n      \"byteToStr\": \"44.58KB\"\n    }\n  ]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/material/{project}/uploadMaterial",
    "title": "uploadMaterial（上传文件-常用）",
    "name": "uploadMaterial",
    "group": "material",
    "version": "1.0.0",
    "description": "<p>上传文件，路径中带project的写法</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appid",
            "description": "<p>开发者appid</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appsecret",
            "description": "<p>开发者appsecret</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "project",
            "description": "<p>应用编码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "module",
            "description": "<p>模块（应用中某个模块存储的文件夹，允许多层文件夹：cb/nh）</p>"
          },
          {
            "group": "Parameter",
            "type": "MultipartFile[]",
            "optional": false,
            "field": "files",
            "description": "<p>上传文件（支持多个）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"project\":\"application_code\",\n    \"appid\":\"oss0s4w4i\",\n    \"appsecret\":\"o4s1u844\",\n    \"module\":\"application_model\",\n    \"files\":[\n    {\n        \"original_name\":\"test.png\",\n        \"file\":\"F://test.png\",\n        \"media_type\":\"png\"\n    }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n  \"code\": 8200,\n  \"message\": \"Success\",\n  \"data\": [\n    {\n      \"id\": \"164332db37ad409ba9dde439cd7171a2\",\n      \"url\": \"http://localhost/files/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"store\": \"/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"objType\": \"jpg\",\n      \"originalName\": \"高通8cx.jpg\",\n      \"byteLength\": 45647,\n      \"byteToStr\": \"44.58KB\"\n    }\n  ]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/material/uploadMaterialNonProUrl",
    "title": "uploadMaterialNonProUrl（上传文件）",
    "name": "uploadMaterialNonProUrl",
    "group": "material",
    "version": "1.0.0",
    "description": "<p>上传文件，路径中无project的写法</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appid",
            "description": "<p>开发者appid</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "appsecret",
            "description": "<p>开发者appsecret</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "project",
            "description": "<p>应用编码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "module",
            "description": "<p>模块（应用中某个模块存储的文件夹，允许多层文件夹：cb/nh）</p>"
          },
          {
            "group": "Parameter",
            "type": "MultipartFile[]",
            "optional": false,
            "field": "files",
            "description": "<p>上传文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"project\":\"application_code\",\n    \"appid\":\"oss0s4w4i\",\n    \"appsecret\":\"o4s1u844\",\n    \"module\":\"application_model\",\n    \"files\":[\n    {\n        \"original_name\":\"test.png\",\n        \"file\":\"F://test.png\",\n        \"media_type\":\"png\"\n    }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n  \"code\": 8200,\n  \"message\": \"Success\",\n  \"data\": [\n    {\n      \"id\": \"164332db37ad409ba9dde439cd7171a2\",\n      \"url\": \"http://localhost/files/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"store\": \"/app_meilc_2/model_2/201812/14/164332db37ad409ba9dde439cd7171a2.jpg\",\n      \"objType\": \"jpg\",\n      \"originalName\": \"高通8cx.jpg\",\n      \"byteLength\": 45647,\n      \"byteToStr\": \"44.58KB\"\n    }\n  ]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/material/uploadSys",
    "title": "uploadSys（上传文件）",
    "name": "uploadSys",
    "group": "material",
    "version": "1.0.0",
    "description": "<p>直接输入存储路径（为空时放在根目录），无需指定开发者和应用，一般不推荐使用</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "dir",
            "description": "<p>路径</p>"
          },
          {
            "group": "Parameter",
            "type": "MultipartFile[]",
            "optional": false,
            "field": "files",
            "description": "<p>上传文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example：",
          "content": "{\n    \"dir\":\"\",\n    \"files\":[\n    {\n        \"original_name\":\"test.png\",\n        \"file\":\"F://test.png\",\n        \"media_type\":\"png\"\n    }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n  \"code\": 8200,\n  \"message\": \"Success\",\n  \"data\": [\n    {\n      \"id\": \"80e53458bc094d30bf99a2e3a2a9bd85\",\n      \"url\": \"http://localhost/files//80e53458bc094d30bf99a2e3a2a9bd85.jpg\",\n      \"store\": \"//80e53458bc094d30bf99a2e3a2a9bd85.jpg\",\n      \"objType\": null,\n      \"originalName\": null,\n      \"byteLength\": 0,\n      \"byteToStr\": null\n    }\n  ]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/MaterialApplication.java",
    "groupTitle": "material（文件对象存储）"
  },
  {
    "type": "post",
    "url": "/api/v1/oss/package/packageByUUID",
    "title": "packageByUUID（传入uuid打包下载文件）",
    "name": "packageByUUID",
    "group": "package",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "list",
            "optional": false,
            "field": "body",
            "description": "<p>传入要打包下载的文件的uuid</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    [\"4765c5e5bdff49578a08795bc24e991e\",\"4ac76329d7a148ce94c5f85f4a344e21\",\"5928943563d8439da350cafecae6e875\",\"ce4e9bbae01b48e49fcb202648daac59\"]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "zip",
            "optional": false,
            "field": "success",
            "description": "<p>下载zip</p>"
          }
        ]
      }
    },
    "filename": "src/main/java/com/grandtech/oss/api/PackageApplication.java",
    "groupTitle": "package（多文件打包成压缩文件下载）"
  },
  {
    "type": "post",
    "url": "/api/v1/oss/packageByUserApp",
    "title": "packageByUserApp（传入开发者和应用打包下载文件）",
    "name": "packageByUserApp",
    "group": "package",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "appcode",
            "description": "<p>应用代码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "appname",
            "description": "<p>应用名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "developer",
            "description": "<p>开发者名字</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"appcode\":\"app_meilc_1\",\n    \"appname\":\"app_meilc_1\",\n    \"developer\":\"meilc\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "zip",
            "optional": false,
            "field": "success",
            "description": "<p>下载zip</p>"
          }
        ]
      }
    },
    "filename": "src/main/java/com/grandtech/oss/api/PackageApplication.java",
    "groupTitle": "package（多文件打包成压缩文件下载）"
  },
  {
    "type": "post",
    "url": "/api/v1/oss/zipdir",
    "title": "zipdir（传入服务器路径打包下载文件）",
    "name": "zipdir",
    "group": "package",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "dir",
            "description": "<p>文件夹路径</p>"
          },
          {
            "group": "Parameter",
            "type": "bool",
            "optional": true,
            "field": "KeepDirStructure",
            "description": "<p>保持目录结构（默认false，重名时会出错，未处理）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"dir\":\"D:\\nginx\\html\\files\\app_meilc_1\\model_1\",\n    \"KeepDirStructure\":\"false\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "zip",
            "optional": false,
            "field": "success",
            "description": "<p>下载zip</p>"
          }
        ]
      }
    },
    "filename": "src/main/java/com/grandtech/oss/api/PackageApplication.java",
    "groupTitle": "package（多文件打包成压缩文件下载）"
  },
  {
    "type": "POST",
    "url": "/api/v1/oss/sys/mergeInformation",
    "title": "mergeInformation（基本信息设置或修改）",
    "name": "mergeInformation",
    "group": "sys",
    "version": "1.0.0",
    "description": "<p>mergeInformation设置或修改基础信息（存储路径、素材下载根目录、nginx日志路径）</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>编码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "root",
            "description": "<p>存储路径</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "invokingRoot",
            "description": "<p>素材下载根目录</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nginxLogPath",
            "description": "<p>nginx日志路径</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example1：",
          "content": "{\n    \"id\": \"5b8b7a2d1aa4414f95a2338aba9571d7\",\n    \"root\": \"D:/nginx/html/files/\",\n    \"invokingRoot\": \"http://localhost/files/\",\n    \"nginxLogPath\": \"D:/nginx/logs/access.log\"\n}",
          "type": "json"
        },
        {
          "title": "Request-Example2：",
          "content": "{\n    \"id\": \"5b8b7a2d1aa4414f95a2338aba9571d7\",\n    \"root\": \"/usr/share/nginx/html/files/\",\n    \"invokingRoot\": \"http://gykj123.cn:9022/files/\",\n    \"nginxLogPath\": \"/usr/local/nginx/logs/access.log\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "json",
            "optional": false,
            "field": "success",
            "description": "<p>返回数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"code\": 8200,\n    \"data\": \"5b8b7a2d1aa4414f95a2338aba9571d7\",\n    \"message\": \"Success\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/grandtech/oss/api/SystemApplication.java",
    "groupTitle": "sys（基本信息设置或修改）"
  }
] });
